<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
   <script>
       let set =new Set(["twcd.com","houdunren.com"]);
       console.log(set.values());
      for (const i of set) {
          console.log(i);
      }


    set.forEach(function(item,index,set){
        console.log(index+"=>"+item);
        // twcd.com=>twcd.com
        // houdunren.com=>houdunren.com 键值是一样的
    });
    // set.forEach(item => console.log(item));
   </script>
</body>
</html>